package TemplateCode.Discount;

public class VIPDiscount extends DiscountStrategy{
    @Override
    public double calculate(double price) {
        System.out.println("VIP用户积分增加了"+price*0.5);
        return price*0.5;
    }
}
